﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Chat
{
    /// <summary>
    /// Abstration for receiving chat commands. It is only the semantic characteristics,
    /// saying we are dealing with commands, meaning the chat commands.
    /// The interface is used in CmdReceiverThread class (see the corresponding file),
    /// where the main aspect is receiving and processing chat commnds in a separate
    /// thread, while the details of how these commands arrive (i.e. underlying 
    /// connections, streams, serailization methods if any), are absolutely not
    /// important.
    /// </summary>
    public interface ICmdReceiver
    {
        object ReceiveCommand();
    }
}
